import {baseUrl} from '@/config/env';
export default () => {
    return {
        index: true,
        submitText: '修改',
        size: 'small',
        labelWidth: 120,
        menuAlign: 'center',
        menuPosition: "right",
        column: [
            {
                label: '名称',
                span: 12,
                prop: 'ruleName',
                rules: [{
                    required: true,
                    trigger: "blur"
                }]
            },
            {
                label: '数据表列',
                span: 12,
                prop: 'ruleColumnName',
                showColumn:false,
                rules: [{
                    required: true,
                    trigger: "blur"
                }]
            },
            {
                label: '条件',
                prop: 'ruleCondition',
                span: 12,
                type: "select",
                dicUrl: baseUrl + "/start/sysDataRule/getRuleConditions",
                dicMethod: "get",
                rules: [{
                    required: true,
                    trigger: "blur"
                }]
            },
            {
                label: '值',
                prop: 'ruleColumnValue',
                span: 12,
                rules: [{
                    required: true,
                    trigger: "blur"
                }]
            },
        ]
    }
}
